package com.quad.innovators.salesease.mapper.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quad.innovators.salesease.model.entity.base.BrandProvider;
import com.quad.innovators.salesease.model.query.base.BrandProviderPageQuery;
import com.quad.innovators.salesease.model.vo.base.BrandProviderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BrandProviderMapper extends BaseMapper<BrandProvider> {


    Page<BrandProviderVO> listPaged(@Param("page") Page<BrandProviderVO> page, @Param("queryParams") BrandProviderPageQuery queryParam);

    BrandProvider selectByCode(@Param("code") String code);

    List<BrandProvider> selectAllList();
}